﻿Public MustInherit Class GenericObject
    Implements IObject

    Private id As Integer
    Private name As String
    Private description As String

    Public Property idProperty() As Integer
        Get
            Return Me.id
        End Get
        Set(ByVal value As Integer)
            Me.id = value
        End Set
    End Property

    Public Property nameProperty() As String
        Get
            Return Me.name
        End Get
        Set(ByVal value As String)
            Me.name = value
        End Set
    End Property

    Public Property descriptionProperty() As String
        Get
            Return Me.description
        End Get
        Set(ByVal value As String)
            Me.description = value
        End Set
    End Property

    Public MustOverride Function getTableName() As String Implements IObject.getTableName


    Public Function getId() As Integer Implements IObject.getId
        Return id
    End Function
End Class
